package com.wys.singleton_demo.runnable;

import com.wys.singleton_demo.lazy.InnerClassSingleton;

/**
 * @author godShan
 * @Description:
 * @date 2019/5/5 11:36
 */
public class SingletonRunnable implements Runnable {
    @Override
    public void run() {
        InnerClassSingleton innerClassSingleton = InnerClassSingleton.getInstance();

        System.out.println(System.currentTimeMillis() + " : " + Thread.currentThread().getName() + " : " + innerClassSingleton);
    }
}
